home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / upc12bs1.zip / UUCICO / dcpsys.h < prev    next >
C/C++ Source or Header  |  1993-09-27  |  2KB  |  51 lines

  1. /*--------------------------------------------------------------------*/
  2. /*    dcpsys.h                                                        */
  3. /*                                                                    */
  4. /*    System functions for dcp (UUPC/extended data communications)    */
  5. /*                                                                    */
  6. /*    Change History:                                                 */
  7. /*                                                                    */
  8. /*    08 Sep 90   -  Create via Microsoft C compiler /Zg       ahd    */
  9. /*--------------------------------------------------------------------*/
  10.  
  11. #define  TIMEOUT     -1
  12.  
  13. /*--------------------------------------------------------------------*/
  14. /*              systems (L.sys) file fields definitions               */
  15. /*--------------------------------------------------------------------*/
  16.  
  17. typedef enum {
  18.    FLD_REMOTE  =   0,
  19.    FLD_CCTIME,
  20.    FLD_TYPE,
  21.    FLD_SPEED,
  22.    FLD_PHONE,
  23.    FLD_PROTO,
  24.    FLD_EXPECT
  25.    } FLDS;
  26.  
  27.  
  28. extern char *flds[60];
  29. extern int  kflds;
  30.  
  31. CONN_STATE getsystem( const char sendgrade );
  32. CONN_STATE startup_server( const char recvgrade );
  33. CONN_STATE startup_client( char *sendgrade );
  34. CONN_STATE     sysend(void);
  35.  
  36. XFER_STATE scandir(char *remote, const char grade );
  37.  
  38. int   rmsg(char *msg, const boolean synch, unsigned int msgtime, int max_len);
  39. void  wmsg(const char *msg, const boolean synch);
  40.  
  41. extern short (*sendpkt)(char *data, short len);
  42. extern short (*getpkt)(char *data, short *len);
  43. extern short (*openpk)(const boolean caller);
  44. extern short (*closepk)(void);
  45. extern short (*wrmsg)(char *data);
  46. extern short (*rdmsg)(char *data);
  47. extern short (*eofpkt)(void);
  48. extern short (*filepkt)(void);
  49.  
  50. boolean CallWindow( const char callgrade );
  51.